//
//  PageView.h
//  PageTool
//
//  Created by Burn on 2020/3/6.
//  Copyright © 2020 menksoft. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol PageViewDelegate <NSObject>

- (void)currentIndex:(NSInteger)index;

@end


@interface PageView : UIView

@property(assign,nonatomic) NSInteger page;

@property(weak,nonatomic) id<PageViewDelegate> delegate;
- (instancetype)initWithFrame:(CGRect)frame element:(NSArray *)ele;

@end

NS_ASSUME_NONNULL_END
